package com.cyq.mapper;

import com.cyq.pojo.Login;
import com.cyq.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ShopMapper {
    Login getPWDByName(String name);
    List<Product> getProductList();
    Product getProductById(int id);
    Login getUserById(int id);
}
